Solutions to the practice problems

ثبت نشده
چکیده

Problem P01: Compute the first N decimal digits after the decimal point of sin(sin(sin 1)), rounded toward zero. We have sin(sin(sin 1)) ≈ 0.678: the first N decimal digits after the decimal point match the first N mantissa digits. We use a target decimal precision N1 > N , and a binary precision p. We compute x = ◦(sin 1), y = ◦(sinx), z = ◦(sin y), with all roundings to nearest. It is easy to see that since p ≥ 3, we have 1/2 ≤ x, y, z < 1, thus all rounding errors are bounded by 2−p−1. We can thus write x = sin 1 + x with | x| ≤ 2−p−1. It follows y = sin(sin 1 + x) + y with | y| ≤ 2−p−1; we can write sin(sin 1 + x) = sin(sin 1) + x cos θ, thus the absolute error on y is bounded by | x| + | y| ≤ 2−p. Similarly, the error on z is bounded by 3 · 2−p−1. With p ≥ 2 +N1 log 10 log 2 , we have 3 · 2 −p−1 < 1/2 · 10−N1 . Finally, we output the binary value z in decimal to N1 digits, with rounding to nearest. Since 1/2 ≤ z < 1, the last digit has weight 10−N1 , thus the total error — including that on z and the output error — is bounded by 10−N1 . Thus, unless the last N1 −N digits of the output are all zero, we can decide the correct output to N digits, rounded toward zero. Note: if the function sin(sin(sinx)) was D-finite, i.e. if it would satisfy a linear differential equation with polynomial coefficients, then it would be possible to compute sin(sin(sin 1)) to precision n in O(M(n) log n) using the “binary splitting” algorithm. Unfortunately, it does not seem that sin(sin(sin x)) is D-finite.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

studying the Problems Concerning the Internship (Teaching Practice) Course from the Farhangian University Students' Point of View

Abstract Internship is the apex of teacher training which converts learning situations into pportunities for the student-teacher's success.The present paper aims at identifying the problems concerning the internship (teaching practice) course in Farhangian University and finding appropriate solutions to overcome them in order to improve the quality of the internship course to prepare student...

متن کامل

Active Learning: An Approach for Reducing Theory-Practice Gap in Clinical Education

Introduction: The gap between theory and practice in clinical fields, including nursing, is one of the main problems that many solutions have been suggested to eliminate it. In this article, we have tried to investigate its solution through active learning. Methods: In this review article, searching articles published during 2000-2012 was done through library references, scientific databases. ...

متن کامل

بررسی علل و راهکارهای فاصله تئوری و عمل در پرستاری از دیدگاه آموزش: یک مطالعه مروری

Background and Aim: the gap between theory and practice in nursing lead to Inconsistency between what is learned and what is done in practice. One component that is causing these problems is nursing education field. This study examines these issues through a comprehensive study has been done in this field. Materials and Methods: A literature search is based on data base consisting of Persian...

متن کامل

On Approximate Stationary Radial Solutions for a Class of Boundary Value Problems Arising in Epitaxial Growth Theory

In this paper, we consider a non-self-adjoint, singular, nonlinear fourth order boundary value problem which arises in the theory of epitaxial growth. It is possible to reduce the fourth order equation to a singular boundary value problem of second order given by w''-1/r w'=w^2/(2r^2 )+1/2 λ r^2. The problem depends on the parameter λ and admits multiple solutions. Therefore, it is difficult to...

متن کامل

Pareto-optimal Solutions for Multi-objective Optimal Control Problems using Hybrid IWO/PSO Algorithm

Heuristic optimization provides a robust and efficient approach for extracting approximate solutions of multi-objective problems because of their capability to evolve a set of non-dominated solutions distributed along the Pareto frontier. The convergence rate and suitable diversity of solutions are of great importance for multi-objective evolutionary algorithms. The focu...

متن کامل

تاثیر فلسفه اخلاق

Background: In recent decades, traditional medical ethics which is confined to certain commands and prohibitions, is substituted by modern medical ethics which deals with problems such as euthanasia, abortion, organ transplantation, etc. and tries to find proper ethical solutions. These solutions wittingly or unwittingly are rooted in certain philosophical foundations. Methods: The philosophy o...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2005